package com.ssm.car.dao.model;



import com.jee.ssm.common.core.base.BaseModel;

import java.util.Date;

/**
 * 
 * 表名 d_parkingzone
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/06/06
 */
public class Parkingzone extends BaseModel {
    /**
     * 
     * 表字段 : d_parkingzone.id
     * Create time 2017/06/06
     */
    private String id;

    /**
     * 停车场id
     * 表字段 : d_parkingzone.parking_id
     * Create time 2017/06/06
     */
    private String parkingId;

    /**
     * 分区名称
     * 表字段 : d_parkingzone.name
     * Create time 2017/06/06
     */
    private String name;

    /**
     * 分区图片
     * 表字段 : d_parkingzone.img
     * Create time 2017/06/06
     */
    private String img;
    private String photo;

    /**
     * 添加时间
     * 表字段 : d_parkingzone.time
     * Create time 2017/06/06
     */
    private Date time;
    /**
     * 第几层
     * 表字段 : d_parkingzone.intro
     * Create time 2017/06/06
     */
    private String floor;

    /**
     * 备注
     * 表字段 : d_parkingzone.intro
     * Create time 2017/06/06
     */
    private String intro;


    private String parkingName;

    private String url;

    private Parking parking;

    /**
     * 构造方法
     */
    public Parkingzone(String id, String floor,String parkingId, String name, String img, Date time, String intro,String photo) {
        this.id = id;
        this.floor = floor;
        this.parkingId = parkingId;
        this.name = name;
        this.img = img;
        this.time = time;
        this.intro = intro;
    }

    /**
     * 构造方法
     */
    public Parkingzone() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 停车场id
     * @return parking_id 停车场id
     */
    public String getParkingId() {
        return parkingId;
    }

    /**
     * 停车场id
     * @param parkingId 停车场id
     */
    public void setParkingId(String parkingId) {
        this.parkingId = parkingId;
    }

    /**
     * 分区名称
     * @return name 分区名称
     */
    public String getName() {
        return name;
    }

    /**
     * 分区名称
     * @param name 分区名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 分区图片
     * @return img 分区图片
     */
    public String getImg() {
        return img;
    }

    /**
     * 分区图片
     * @param img 分区图片
     */
    public void setImg(String img) {
        this.img = img;
    }

    /**
     * 添加时间
     * @return time 添加时间
     */
    public Date getTime() {
        return time;
    }

    /**
     * 添加时间
     * @param time 添加时间
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * 备注
     * @return intro 备注
     */
    public String getIntro() {
        return intro;
    }

    /**
     * 备注
     * @param intro 备注
     */
    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getParkingName() {
        return parkingName;
    }

    public void setParkingName(String parkingName) {
        this.parkingName = parkingName;
    }

    public Parking getParking() {
        return parking;
    }

    public void setParking(Parking parking) {
        this.parking = parking;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}